package com.design.mediator;

/**
 * @ClassName ConcreteColleague1.java
 * @Description 同事类2
 * @author Jon
 * @date 2018年6月15日 下午5:08:49
 */
public class ConcreteColleague2 extends Colleague {
	public ConcreteColleague2(Mediator mediator) {
		super(mediator);
	}
	public void selfMethod2() {
		System.out.println("同事类2自己的业务...");
	}
	public void depMethod2() {
		super.mediator.doSomething2();
	}
}
